package com.qf.boot1.config;

import com.qf.boot1.service.TestSerivce;
import com.qf.boot1.service.impl.TestServiceImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author 刘欣
 * @createTime 2023/1/31 11:21
 * @description
 */
@Configuration
public class MyConfig {

    @Bean
    public TestSerivce testSerivce() {
        TestServiceImpl testService = new TestServiceImpl();
        return testService;
    }
}
